<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/tags.jsp"%>

<div class="row-fluid navbar">
	<div class="navbar-inner">
		<s:if test="@cn.talkimages.web.admin.constant.AdminConstDef$UpdateType@Add == updateType">
			<span class="brand">关键字新建</span>
		</s:if>
		<s:else>
			<span class="brand">关键字编辑</span>
		</s:else>
	</div>
</div>

<s:actionerror theme="bootstrap"/>

<div class="row-fluid row-fluid-grid">

	<div class="form-horizontal">
		<s:form namespace="/keyword" action="save">

			<div class="control-group">
				<label class="control-label" for="inputEmail">关键字中文名称:</label>
				<div class="controls">
					<input name="nameZh" type="text" class="input-large" value="<s:property value="nameZh"/>"/>
					<span class="label label-important">必须</span>
				</div>
			</div>
			
			<div class="control-group">
				<label class="control-label" for="inputEmail">关键字英文名称:</label>
				<div class="controls">
					<input name="nameEn" type="text" class="input-large" value="<s:property value="nameEn"/>"/>
				</div>
			</div>
			
			<div class="form-actions-embemed">
				<button type="submit" class="btn btn-primary">保存</button>
				<a href="<s:url namespace="/keyword" action="list"/>" class="btn">返回</a>
			</div>
			
			<input type="hidden" name="updateType" value="<s:property value="updateType"/>"/>
			<s:if test="@cn.talkimages.web.admin.constant.AdminConstDef$UpdateType@Edit == updateType">
				<input type="hidden" name="id" value="<s:property value="id"/>"/>
			</s:if>
		</s:form>
	</div>
	
</div>